import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import mgoodsList from "@/components/mgoods/GoodsList.vue"
import wgoodsList from "@/components/wgoods/goodsList.vue"
import xinnaoList from "@/components/xinnao/xinnao.vue"
import shenjingList from "@/components/shenjing/shenjing.vue"
import goodsinfo from "@/components/goodsinfo/goodsinfo.vue"
Vue.use(Router)
import HomeContainer from "@/components/tabbar/HomeContainer.vue"
import  cart from "@/components/cart.vue"
export default new Router({
  routes: [
    { path: '/', component: HomeContainer},
    { path: '/home', component: HomeContainer},
    {path:'/home/nanxing',component:mgoodsList},
    {path:'/home/nvxing',component:wgoodsList},
    {path:'/home/xinnao',component:xinnaoList},
    {path:'/home/shenjing',component:shenjingList},
    {path:'/home/goodsinfo',component:goodsinfo},
    {path:'/home/cart',component:cart},
  ]
})
